package com.fairytask.engine.components.list
{
	import flash.events.Event;
	
	public class ListEvent extends Event
	{
		public static const LIST_CLICK	:String		=	"NX_LIST_CLICK";
		
		private var _item					:ListItem;
		
		public function ListEvent(type:String, item:ListItem,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			_item	=	item;
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			super.clone();
			return new ListEvent(type,item);
		}
		
		public function get item():ListItem
		{
			return _item;
		}
	}
}